import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import mobileCommon from './modules/mobileCommon'
import clock from './modules/clock'
import menu from './modules/menu'
import study from "./modules/study"
import user from "./modules/user"
import checking from "./modules/checking"
import circle from "./modules/circle"
import notice from "./modules/notice"
import partyBuild from "./modules/partyBuild"
import answer from "./modules/answer"
import sign from "./modules/sign"
import news from './modules/news'
import exam from './modules/exam'
import examStatic from './modules/examStatic'
import homework2 from './modules/homework2'
import notice2 from './modules/notice2'
import media from './modules/media'
import checkingIn2 from './modules/checkingIn2'
import selectTeacher from './modules/selectTeacher'
import oa from './modules/oa'
import oaNotice from './modules/oaNotice'
import map from './modules/map'
import link from './modules/link'
import help from './modules/help'
import sos from './modules/sos'
import kitchen from './modules/kitchen'
import schoolAccount from './modules/schoolAccount'
import inviteParents from './modules/inviteParents'
import schoolAdminSos from './modules/schoolAdminSos'
import setting from './modules/setting'
import broadcast from './modules/broadcast'
import vip from './modules/vip'
import role from './modules/role'
import temperature from './modules/temperature'
import dues from './modules/dues'

import learningSituation from './modules/learningSituation' 
import personInfo from './modules/personInfo'
import wrongTopic from './modules/wrongTopic'
import payroll from './modules/payroll'
import email from './modules/email'
import weChat from './modules/weChat'

import monitor from './modules/monitor'
import classFee from './modules/classFee'
import studentSport from './modules/studentSport'



import studentAppraise from './modules/studentAppraise'
import welfareFound from './modules/welfareFound'
import myInfo from './modules/myInfo'
Vue.use(Vuex)
const store = new Vuex.Store({
  modules: {
    mobileCommon,
    clock,
    menu,
    study,
    checking,
    circle,
    user,
    notice,
    notice2,
    partyBuild,
    sign,
    answer,
    exam,
    news,
    examStatic,
    homework2,
    notice2,
    media,
    checkingIn2,
    selectTeacher,
    oa,
    oaNotice,
    map,
    link,
    help,
    sos,
    kitchen,
    schoolAccount,
    inviteParents,
    schoolAdminSos,
    setting,
    broadcast,
    vip,
    role,
    dues,
    temperature,
		wrongTopic,
    learningSituation,
    personInfo,
    payroll,
    email,

    monitor,
    weChat,
    classFee,
	  welfareFound,
    studentAppraise,
    studentSport,
    myInfo
  },
  getters,
  state: {
    imgSrc: "http://www.xueerqin.net/fs/"
  }
  
})
export default store
